g_error() as soon as we catch an invalid column type
authorFederico Mena Quintero <federico@novell.com>
Wed, 26 Aug 2009 23:38:03 +0000 (18:38 -0500)
committerBenjamin Otte <otte@gnome.org>
Thu, 15 Oct 2009 20:06:13 +0000 (22:06 +0200)
commitdfe20ea1a8e1a97dfb10a5a7f7834ef1ebb0d81f
treed05d8ce2f7a644d375432790390605b8102de748
parent836c3ab043700e0c13fb63da00e76ac9851a6d4d
g_error() as soon as we catch an invalid column type

There's no point in running a GtkFileSystemModel with invalid column types.
This way we can also avoid clearing the memory of the column_types array.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
gtk/gtkfilesystemmodel.c